package cn.icatw.gulimall.coupon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.icatw.common.utils.PageUtils;
import cn.icatw.gulimall.coupon.entity.SeckillSessionEntity;

import java.util.List;
import java.util.Map;

/**
 * 秒杀活动场次
 *
 * @author icatw
 * @email 762188827@qq.com
 * @date 2022-02-21 20:26:56
 */
public interface SeckillSessionService extends IService<SeckillSessionEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 得到最近3天秒杀
     *
     * @return {@link List}<{@link SeckillSessionEntity}>
     */
    List<SeckillSessionEntity> getLatest3DaySession();
}

